<template>
    <div class="zhuti">
        <div class="t">
            <span>入驻歌手</span>
            <span>更多></span>
        </div>
        <ul>
            <li v-for="item,index in Infos" :key="item.id">
                <img :src="item.picUrl" alt="">
                <div>
                    <b>{{ item.name }}</b>
                    <span></span>
                </div>
            </li>
        </ul>
    </div>
</template>

<script>
import {artistHot} from '@/request/api'
export default {
    data () {
        return {
            Infos:[]
        }
    },
    props:['Info2'],
    created(){
        artistHot(this.Info2).then(res =>{
            console.log(res);
            this.Infos = res.data.artists
        })
    }
}
</script>
 
<style lang = "less" scoped>
    .zhuti{
        width: 719px;
        .t{
            width: 719px;
            height: 42px;
            color: #333;
            font-size: 12px;
            border-bottom: 2px solid #c20c0c;
            display: flex;
            justify-content: space-between;
            span{
                &:nth-child(1){
                    font-size: 24px;
                }
                &:nth-child(2){
                    margin-top: 14px;
                }
            }
        }
        ul{
            width: 736px;
            margin: 20px 0 0 -17px;
            font-size: 12px;
            color: #333;
            display: flex;
            flex-wrap: wrap;
            li{
                width: 147px;
                height: 184px;
                box-sizing: border-box;
                padding-left: 17px;
                padding-bottom: 30px;
                img{
                    width: 130px;
                    height: 130px;
                }
                div{
                    display: flex;
                    justify-content: space-between;
                    span{
                        &:nth-child(2){
                            width: 17px;
                            height: 18px;
                            background: url('../../assets/icon.png') no-repeat 0px -740px;
                        }
                    }
                }
            }
        }
    }
</style>